74464f9f99ad4da88d41fb94c87eca5f8da8da22,src/main/java/org/elasticsearch/index/query/RangeQueryParser.java,RangeQueryParser,parse,#QueryParseContext#,50

Before Change


        if (smartNameFieldMappers != null) {
            if (smartNameFieldMappers.hasMapper()) {
                //LUCENE 4 UPGRADE Mapper#rangeQuery should use bytesref as well? 
                query = smartNameFieldMappers.mapper().rangeQuery(from.utf8ToString(), to.utf8ToString(), includeLower, includeUpper, parseContext);
            }
        }
        if (query == null) {

After Change


        if (smartNameFieldMappers != null) {
            if (smartNameFieldMappers.hasMapper()) {
                //LUCENE 4 UPGRADE Mapper#rangeQuery should use bytesref as well? 
                query = smartNameFieldMappers.mapper().rangeQuery(from != null ? from.utf8ToString() : null, to != null ? to.utf8ToString() : null, includeLower, includeUpper, parseContext);
            }
        }
        if (query == null) {